/*
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package org.schema.domain.thing.intangible.offer;

import org.schema.domain.Thing;
import org.schema.domain.thing.intangible.Offer;

/**
 * When a single product that has different offers (for example, the same pair of shoes is offered by different merchants), then AggregateOffer can be used.
 */
public interface AggregateOffer extends Offer {

	/**
	 * The highest price of all offers available.
	 *
 	 * @return Thing
	 */
	Thing getHighPrice();

	/**
	 * The highest price of all offers available.
	 *
 	 * @param thing
	 * @return void
	 */
	void setHighPrice(Thing thing);

	/**
	 * The lowest price of all offers available.
	 *
 	 * @return Thing
	 */
	Thing getLowPrice();

	/**
	 * The lowest price of all offers available.
	 *
 	 * @param thing
	 * @return void
	 */
	void setLowPrice(Thing thing);

	/**
	 * The number of offers for the product.
	 *
 	 * @return Integer
	 */
	Integer getOfferCount();

	/**
	 * The number of offers for the product.
	 *
 	 * @param integer1
	 * @return void
	 */
	void setOfferCount(Integer integer1);

}